package com.situ.mall.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.situ.mall.pojo.entity.admin.Admin;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Gao
 * @since 2024-10-09
 */
public interface IAdminService extends IService<Admin> {

    Map<String, Object> selectAssignedRole(Long adminId);

    void assignRole(Long adminId, Long[] roleIds);

    void deleteById(Integer id);

    Map<String, Object> selectUserPermissionInfoById(int id);
}
